package com.anolesoft.yr.mbus.prod.model.service;

import com.anolesoft.yr.mbus.prod.model.dto.ProdProductionDeleteDTO;
import com.anolesoft.yr.mbus.prod.model.dto.ProdProductionSaveDTO;
import com.anolesoft.yr.mbus.prod.model.dto.ProdProductionUpdateDTO;
import com.anolesoft.yr.mbus.prod.model.vo.ProdProductionQueryVO;

import java.util.List;
import java.util.Map;

public interface ProdProductionService {

    //新增产品信息表
    String saveProdProduction(ProdProductionSaveDTO prodProductionSaveDTO) throws Exception;

    //修改产品信息表
    String updateProdProduction(ProdProductionUpdateDTO prodProductionUpdateDTO) throws Exception;

    //删除产品信息表
    String deleteProdProduction(List<ProdProductionDeleteDTO> prodProductionDeleteDTOList) throws Exception;

    //根据主键查询产品及服务项数据
    Map<String, Object> queryProdProductionByUId(String uid) throws Exception;

    //根据主键查询产品服务项及参数数据
    Map<String, Object> queryProdServiceByUid(String uid) throws Exception;

    //根据条件查询产品所有数据
    Map<String, Object> queryProdProductionAll(String typeName, String prodName, int page, int limit) throws Exception;

    //查询产品类型名称
    List<ProdProductionQueryVO> queryProdProductionProdName() throws Exception;

}
